﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Model;
using Controller;

namespace Facade
{
    public class KPIStatusFacade
    {
        public IList<KPIStatus> GetAllKPIStatus()
        {
            IList<KPIStatus> KPIStatus = new List<KPIStatus>();
            KPIStatusController cont = new KPIStatusController();
            KPIStatus = cont.GetAllKPIStatus();
            return KPIStatus;
        }

        public KPIStatus GetKPIStatusByID(int ID)
        {
            KPIStatus KPIStatus = new KPIStatus();
            KPIStatusController cont = new KPIStatusController();
            KPIStatus = cont.GetKPIStatusByID(ID);
            return KPIStatus;
        }
    }
}